package com.haohope.framework.lock;

import java.util.concurrent.TimeUnit;

public interface ILock {
	public void lock();
	public void lockInterruptibly()  throws InterruptedException ;
	public boolean tryLock();
	public boolean tryLock(long time, TimeUnit unit) throws InterruptedException;
	public void unlock();
}
